package com.youdianda.service;


import com.youdianda.dto.AdminLoginDTO;
import com.youdianda.entity.SysUser;
import com.youdianda.vo.BaseInfoVO;
import com.youdianda.vo.GetConfigVO;
import com.youdianda.vo.ProfileVO;

import javax.security.auth.login.AccountLockedException;
import javax.security.auth.login.AccountNotFoundException;

public interface IndexService {


    /**
     * 后台登录接口
     * @param adminLoginDTO
     */
    SysUser login(AdminLoginDTO adminLoginDTO) throws AccountNotFoundException, AccountLockedException;

    /**
     * GET 获取系统配置
     * @return
     */
    GetConfigVO getConfig();

    /**
     * 获取用户资料
     * @return
     */
    ProfileVO profile();

    /**
     * 主页统计信息
     * @return
     */
    BaseInfoVO baseInfo();
}
